Merging magellan and avatar installations.
Updated ctools.