Fix script permissions.