More changes related to locality detection of app
Updated version code