switch to generic triggers.py, add isup command