removes some prints, modifies script