Moved instruments client resolution to env + better startup logging.