Minor cleanup
sd:endpoint used for config instead of gs:endpoint (again)