After a lot of head scratching and some swearing the steps are just about finished.