Fixed script to not undeploy for packaging