export root and bin dir