Adding media section addition code