isolate system-specific code into profiles