more logging. added checks for non-existant apps to patch
remove original shell script