Modified script to replace regular packages with repackaged packages and added new script to undo repackaged content replacing repackaged packages with normal packages.