Using prepare_command  instead of pre_install