Fixes #2 and adds the tox_send_action function