Move nodefly require to the top