mostly working...can't get config to work, unless using flags-which work
deleted tmp files