Updated 'action' to be 'smaction' so that plugins can modify the action of