Better handling of set operators
Solve the multiple commands issue by adding curly brackets
Defer menu calls
Initialize variables