add menu directive