updated path creation to use __dirname