updating the changelog
updating the hook for wordpress 3.5, removing closing php tag, storing object in globals