Adding the startup and shutdown scripts