minor fix of scripts