Added logging and command top stop the program