Refactor started and applied envMap