socket script added