Added check for vendor directory/composer run. Also added commented out sub-folder settings to .htaccess