Prepare code for launch with argument