fix goput script for recent changes