add error logging for rc.local and fixed bug where mail catcher could not be executed on startup since the command was not found