beginning script