Fix import in logging module, use full script path when launching.