Very basic script to check input fields