Added in-flight tuning code and updated settings for flight 18