try using __dirname
readd index