minor fix to scripts.