Debug output is removed.
Version reading is added.
preflight procedure is updated.