Add possibility to set the env with options
Removed file resource for global.yaml