Change directory when execute command