Added implementation for import button (Honors Contract). Also added several checks to make code more robust and prevent exceptions.