Removed redundant line and added a new flag to OP in run_script