fixed stdin and embed configs