added environment save on create, fixed printing