Added local variables for tabs