Added new script-parse functions