make script smarter, put useful stuff in readme