Updated to work with generate syntax in abaqus