Chaing from absolute to relative paths in resource manager