added script to modify the sequences to match the layer names