updatePrompt.sh

Replaced hardcoded variables used for testing with parameter variables
to be passed by JSS
updatePrompt

Fixed an issue un updatePrompt where the script did not properly detect
if the specified application was running.