removing pritns from scipt