Fix some bugs and reenable twilio sending