will fix the issue with the script not terminating on completion
will fix the issue with the script not terminating on completion