Scripting Terminal.app

tell application "Terminal"
 do script with command "top -u -s10 10"
 set number of rows of window 1 to 18
 set number of columns of window 1 to 80
 set background color of window 1 to "black"
 set normal text color of window 1 to "yellow"
 set custom title of window 1 to "Top"
 set miniaturized of window 1 to true
end tell