Made all the hardcoded url parts generic so that we can use the same code for dev and production and no code change had to be done while deployment