use variables for ssd and hdd instead of copy-paste