Solved by using version 5.7.0 of twilio and rewiting a few commands.