added refgen tool