Add option to apply environment from file