use path.resolve() where appropriate instead of path.join() - allows use of absolute import paths