pipeline python script