Making a more generalized brightness script.