minor fix in scripts