Finalized server run script with dependency installation and created server kill script