Add activity and change directory