in addition to the purchase price , he had been forced to take out a large loan to convert the aged research vessel into a modern salvage ship : adding a hydraulic cargo crane , upgrading to a five-ton capacity a-frame , and overhauling the caterpillar marine diesel engine .