Made retarget script usable, ready to do basic testing.