Adding callback support
Fixed bug in flags mode
Version bump