fix processing scripts