Adding a directory initialiser to start up of program