building now SMO generated from commandline