Fixed code
Generated code executed through node