Split scripts into separate files per exported value