added additional error handling to catch permission issues for sites-enabled folder