Don't source functions.sh...
Simplified logging
Handle missing fifo
Only allow known commands