Move SSD optimization to the end of script