setting up mint workflow