changing loading strategy to use env variable.