export RESULTSDIRECTORY so that env returns it