Bugfix phipeline.sh