removed prints, cpp_entity.script assignment