Turn code into a script that is directly executable