change from relative to absolute urls for resources.