Added an option for the sleep period before mounting
Improved logging
Added option for log purge period