This is the standard hpi:create plugin converted to groovy. Checked in vanilla then changed. All done using the commandline