Cleaned up processScaleStmts