Completed pipeline for initial script from Raphael.