Tested and fixed commands to set spawn and flag locations and save the configuration.