Run the preextract_command on retrieve