added install script for purging pre-installed packages