Removed use of pid_cycle file and ENVIRONMENT macros