Add beforeSubmit callback
merged #72
Release v0.3.20
updated readme with new version