added shutdown script
shutdown script tweaked