Added ability to control scaling amplitude for auto-squash