fixed script/server to be killable