Added more checks and release on npm