Re-work function calls for bash consistency
Do not run job until after namenode has exitted safe mode