added command line arguments to all scripts