applied optional to shutdown args