correction of bugs in startup scripts for pyjob_run and update_ip