fixed fail with script,,,,,,,,