Make non-executable scripts executable.

fix bug 1063104