use go lib instead of shell out