Changing directory and adding aggregate