make the code work in submission folder