changed HOME to QFUN