rename apc
add media/ creation if needed