script parser