Load enviroment before working with model