updated to support deployments to subdirectories instead of webroot