change with directory and metrics