Add logic flags to kasm language