added new command: gen mac