fix preview send script