lots of edits but it's shaping up to replace my other atempts at scripting up the installation process.