write dev script