some changes to hashdecrypt script