added command line arg to stop hashes refresh + fix NPE