added short -a, -ed, -sw options