adding script to extract from impacts_real