Enable automatic task status update via scanning results

Some of these lines are too long. Can try and format it better.