kalua: replace all occurences of 'system.@profile[0].nodenumber' with '$NODENUMBER'