get directory name dynamically, prep for switch to ec2