Renamed default code gen to static and code gen to random