Add simple script so we can turn output off
Only add to stats if user script run, tidy up branch check