merge compile and run to compile_run