first version of 'the toolbox script'