Shell Scripts for some tough programs