updated nnx, optim. added run.sh