Fix up mod creation a bit