Added some features

Thanks for writing and sharing this- gave my project a nice jump start.