add options to autoLoad method