Convert flags and single-color to generic script