Update main script for NPM.
release 0.5.3