PUB variable takes string, not number
move boilerplate to tools
modify path used to pick up boilerplate
apparently, __file__ changes when you chdir. Fun language!