changed the path generation files to use the site.path variable instead of the prefix function to be more threadsafe