added extra config instructions + fixed logic