Profile loading rewrite