Added several logs. Target is now set to the current pos of the object