perform pre-flight activities