3/14/14 (3)

script now uses the average ratio based on the history, and not just 3