Added io redirection and variables sections