Script that generates multiple versions on one file according to replacement rules inside of it