socket script