require path earlier