Added script to do the whole analysis in one piece