Updated script to enalbe use of configuration file and added README.