try duping env for potential thread issues
dup the App before calling itself