adding base url as option