changed path.join to path.normalize, more readable