Add logging more statements before Popen command
updating to create windows background process