updating how pub_root prefixes the rest of the dirs