use baseurl variable for scripts