Made 'flying' variable public, for external plugin access