Allow appcontroller to pass environment variables