Usage: $ARGV[0] -type[A|B] -OEMID id -version nnnn -out filename