Modifies method of loading amazon env