Replace obsolete algorithm
Fix script