added glossary and build program modes