add final cd command to move to dir