minor fix for launching instances with spaces in their path
error logging in system