Fix mediafiles in deploy scripts