Sub scripts, remove printf from pr1b