Add closure as a GAIA_OPTIMIZE=2 level script for SIMPLE_OPTIMIZATIONS