Refactor postinstall script so it has a separate script for connecting to the RAID