scripts minor fix