fixed script for shutting down servers