Better commands function, hopefully fix httplib exception