wrote custom implementation of argument parser in facilitate hook modules adding options