updated script for command line