Added logic for an etc folder.