adapted relative resoruce paths