run script for c