Updated script that checks availability of processed data.