refactor url and sb vars so it's easier to change at once