add script to run a commnd on each revision and log it in a file