Fix redirecting of output and make FIFO work more reliably
Fix lookup of key in $stations. 'last' action should now work.