version 1.2. updated variables for more flexible use. added readme file for instructions.