Renaming attach to media