replication scripts, originally written by Estani Gonzalez and others at DKRZ