Modified referrer cases to work by environment
Merge branch 'master' of https://github.com/imagreenplant/aptest