changed path.join to path.resolve to allow giving an absolute path
0.0.6