configured test_local.sh to work with all directories now. Cal version may still cause problems