Added $appName variable that will be read from CFBundleName