Updates to db, added back hash_decrypt script to loop.