Add script parser to core