Changed rsun to change back to the starting directory after creating settings for Grass.