Fixed bug on startup if autoadd variable doesn't exist initially.