added check on local/applications folder permission