added command line arguments to main script (trollop)