changes made to get python script to collect data