adds better argument validation to `fswms` script