updated maya py handler