Updated, and updated from the examples file I copied it from ;)