now with pre flight checks and updated to use the latest flight