Issue #1259098 - is_executable() does not accept arguments so -s should be added after the file is tested.