added secret token gen to nap script