Adding command line to script, updating output