Updated to 1.0 of the api, switched to python