simple script for some minimum validation