inserteffects: added ability to create global env