moved md5 into the directive