Script to make code data