fix up offline paths (uri encode); initial working export for app