writed the form script