change directory of foundation.