Added log file and alias support