Advanced options for flow command line utility
Fixed dir checking