modified: python script