Comment out unneeded block; save citation template only if it doesn't exist