Added toggle switch to instrument variables page