Updated script to include swift templates and stop assertion in mogenerator.m:529