added move item code
added media support