new_code_run function

Post entry to code_run table