[sgm] updated build method (links to scripts)