changed require to remove lib directory before version file