debugged python etl