adding submit handler and screen options