Completed fixes to main get process after env variable name rework