fix echo statements and force bash to configure first