Fixing issue with sites directory