Modify for npm publish