I am not a coding expert but I think you have to replace this part of the code; ws=True, q=True, t=True to ws=0, q=0, t=0