final changes to the pipleline script hopefully