Added mkdir for logs folder