Added __dirname so stuff works.