flags support, and more!