Added timer parameter for shutdown command