Make profiles dynamic

/cc @ryw thoughts?
@queso Just tried and it seems to work fine. Except for ... where does {{showPreview}} come from?