finishing analysis scripts for motif chain solutions