modify hard coded variables for AMI directories