fixed startup/shutdown commands.