Updated to version 0.13.  Works as a stand-alone php file.