Support relative paths; encode URLs; print results