Command line script for performing whole analysis