fixing up golang script