Expose parse_scripts function