Fixing IMOD creation