Adds missing state to create file