write version to startupconfig and show error message on startup config fail