updated python script to match new site code