Get data from production version
Check that area has been set
Moved route parsing to function
Corrected route length calculation