adding dan's concatenation script