Making abort code configurable