This script imitates a graduated neutral density filter darkening the upper half of the picture.
To change the filter density, adjust the opacity of the "Grad ND Filter" layer.