Implement multi-environment with --env