Making workflow manage base work dir configurable