trying to fix some platform issues

using path.join
updated version