String execution improved. exit works for string execution