Fix issues in parameter plot scripts