proof of concept
use logging instead of println
stop on task failure
extract single_scan