Differentiated between staging and local.
Switched from hardcoded urls to reverse() urls.