Added the -x/--exec options for directly executing the generated script