added dynamic base url for auto.js