Addition of rear gain scaling code and zip files