Removing some debugging, adding some, setting baseUrl.