adds run script and command line options