a script [work in progress] for all scripts required for version 3