Edits to allow script to run on cluster with command args.