Close pbs file after writing! Oops