updated with adaptive time in pbs scripts