scripts: reintroduce dist