Working on getting publish to work with python