changed entry point code to plain nodejs