Better light global variables definition