It does depend on i at the moment but I see no reason why this is the case. It could either depend on the GUID (preferably) or the name instead. Ideally we would find a way to just get rid of the ugly ifs (by moving stuff to the array declaration instead?) but that seems difficult here.