Use common builder code. Move script source to 'tools' directory