fixing wrecker script