Script to set brightness.