removed hardcoded appName and hashType