Added command line options to the scripts.