Added tree and compton toggle