modified prepare.pm to include looping until impact tests are successfully built. Modified hdsd_morn.pm to include looping until sysdiag successfully passes