minor fixes + added a sample script of how to run