Updated scripts for bug fixes.