installs and configures diamond