beginning script parser