Updated to Prototype 1.7.1
Added minimum range