add script and before_script to perform_job