Fixing backup script (which -> hash)