gorouter build script

please review