fixed issue with hopper
added checks to apps for previous installation