Added rolling log. Updated launch script to print exit code.