Adding processContent and shouldExecFile callbacks