Load gl and variables