fix takeover scripts and renamed them for better clarity.