cleaned up pbs scripts