Make main function run
Add missing yesno function