add core preflight check