passing the base url for easier deployment