modified napi.sh