Assign some variables as global variable