Close enough. I think its main mission when it picked up Luke was to pick up Stormtroopers that it had dropped off earlier. However, because the original Stormtroopers were not there to be picked up it started picking up whatever intelligent species that were close by. Then because these beings were not acting like Stormtroopers the ship tried to re-indoctrinate them.
You're up.