Add unique index to xxxinfo while dropping dupes and clean up XXX controller
Changing file perms