Add beforeSave upload verification
Merge pull request #2 from m0she/master

Add beforeSave upload verification