__dirname points to the right directory