changes made for non localhost