Made hash generation option. Closes #151