fix: check script files path error
add client safe_mode