Improve: done menu ribbon, and handle directory path