Make the profile per machine. this code is becoming a mess...