adds extensions back in