Added function chaining, readme, and example script