strict fork of swingpoint scripts