use utils.relative throughout