Fixed a few syntex errors. Works great now.