I was wondering if there is a better way, the issue is that the factories don't virus scan by default which then mean they are all invalid on publish time.