Change probability algorithm
Update scripts