fixing path issues

using __dirname