setupTheme routine with a profile argument