Bring back priv-app, fix backup function