correct command name regex
only create packed file if no errors