added Script.parse