finished moses script