updated maya script