Added option printing and script loop until exit