added base url option to settings