Full working version of all the 5 steps and their intemediate files.