working on supervisor template and environment variables