Changes to sustainer key to support site running in a sub-directory