Updated rates class, changed script for new km, updated settings file.