basic script, validation work in progress