describe script's function.