use readlink to resolve symlinks in pyn bash wrapper
lint, update docs