use dynamic raamitDirectory