added media directory
added color attribute back