fixing things to get them to run

readfile will bail if there is no features