Boxshell main program