Added optional adaptVars call to allow customization of pre-entry rendering