add cross platform handles
handle applications in snapshots