removes unused files, adds cname