Improved parser: it can now parse the provided example script.