added directory copy support
added erb support