update run.sh for user-defined output file name