Script refactoring for more consistent brace usage
URLs are no longer included in location update JSON