HAPI'ify it all

allows deep-links to work.