Fixes to get-pulsar script.