Removed baseurl variable. Using BASE_PATH instead.