Add debug information
Improve daemon by adding options: We want to be able to finish the current task before stopping or restarting it.
Script to run process in supervisor