App name is now Hardcoded. Added some comments
If the script is running from sudo we whitelist the app under current user