adding ruby shutdown script