Implemented dry run. Fixed #5.