updated retrorig build script