Fixed form validation, starting to move run definition to server