added command line options + run script