Added if statment to check for app directories (MAMP, Vagrant, etc)