GenCode can only be run from command line.