Remove stdin from main