Updated to support salted SHA512. !!!Please update your DB with the script in Dropbox before use!!!