Make sure program exits with --export