added baseurl to script loading
Added base URl to main script