perform some input validation and sanity checking on config generation