Minor edits

— moved functions from run_pglt to setup_tools
— added a stages arg to parser