using fmli to create menu's

I am currently having a problem creating a dynamic Menu that reads in from a file and appends this Menu list with an exit menu item.

the syntax I am using to create the dynamic Menu is

menu="$ARG1 Host names"

`cat Hosts.data | regex '^(''.*)$0$' '
name="$m0"
action=open Menu.Login.mnu $ARG1 $m0

1) This created a menu that had 3 columns, I only wanted 1 column
2) I tried to add an Exit Menu item to the list but it creates one after each Menu list. e.g.

host1
exit
host2
exit
host3
exit