func as option, option can be empty, defaults defined at entry point
more options, more flexible directory handling and prefixing