fix bad id and add creation script