added the logs options. Added a better start and stop for prcesses.