make use of new PROFILEDIR variable in nx-rc