adds autorun script and command line options