Adding an option for the base url