Changing relative path to resources