build script for retrorig-setup with all final amendments