adding custom  environment initialization