adds some flags