Fix the sh path and make script executable