hide node flags depending on context
add variables