simple incremental collection script, and environment variable for ssh