fixed key word beforescript to before_Script