Revert "parametrize media dir"

This reverts commit 18327858f984380a4a8623df2b3d13b1446d8416.