Hopefully removed all tabs
Added a flag to specify wheter the trigger has parameters or not