Split scripts/partials to apps dirs.