edited templates for setting environments (both headless and gui)