Added realpath to phipeline.sh