Moved require and removed isNode flag