update require call to use path.join()