Added the environment settings save process