Adjusted dynamic paths
Added magic mimetype lib locally