Add baseDir to header URLs