Fixed the URL being hard coded. Now you can port this pretty easily ^_^