Fixed a few silly mistakes, everything seems to work.