updates for the microscope and fixes #393