Updated migrate script to work with communitydiscussion entries in acl_permissions.