Remove dependencies on thescript name.