Make it work better with duplication and have an init() method that
gets run once for each duplicate copy and initPr() method that
gets run for each script once.