fixed a few more bugs and expanded teh motif_chain_tasky module