Take script handler out of ParserController