modified data prep; fixed bug in config generator