Added variables for branching

Added variable support for branches