Made all the root directives relative to the current directory. This is necessary for the directives to work of different computers.