Production environment

Use tokens and permissions (init, update and check) only if environment is production.