Changing blocks calls from String type to Global Variable type