can now run from console, it launces a python shell to keep the process alive