written script