added commands to pull flight from habitat
fix notify() bug