sync calc_secondary_dex_details, pass the target from the cmd line