diff --git a/lib/manifest.js b/lib/manifest.js
index 7231c60..91affc7 100644
--- a/lib/manifest.js
+++ b/lib/manifest.js
@@ -27,7 +27,7 @@ function convertFromBase(manifestInfo, callback) {
}
//pull out the values that we need, then set them to our locals
- var manifest = originalManifest;
+ var manifest = {};
manifest.scopeArray = [];
//add the scope in
var tempArray = [];
@@ -85,10 +85,10 @@ function convertFromBase(manifestInfo, callback) {
// console.log(manifest.icons[0])
manifest.rawManifest = manifest.rawManifest.replace(/{GUID}/g, guid)
.replace(/{providerName}/g, "Microsoft")
- .replace(/{sourceLocation}/g, manifest.start_url)
- .replace(/{defaultLocale}/g, manifest.lang || 'EN-US')
- .replace(/{displayName}/g, manifest.short_name || manifest.name)
- .replace(/{description}/g, manifest.name || 'no description provided')
+ .replace(/{sourceLocation}/g, originalManifest.start_url)
+ .replace(/{defaultLocale}/g, originalManifest.lang || 'EN-US')
+ .replace(/{displayName}/g, originalManifest.short_name || originalManifest.name)
+ .replace(/{description}/g, originalManifest.name || 'no description provided')
.replace(/{iconURL}/g,manifest.icons&&manifest.icons[32]?'': '') //only one image can be used