replace png files and .m files