py script updates