simple scripts correction