Calculate multiple graphs without restart the application
fixed wrong logfile open