Fix paths for localhost usage

This uses relative paths where possible.