Changed command line so it starts with process manager and runs in a
separate thread