added simple extsignal support - very crude