first script - analyze.sh