make code create script work