I do appreciate your time and assistance!
I added the button coding to the original code, is there a better way to do this as earlier this afternoon I had It working (with a different button code), but I would really like to have the buttons momentary rather than timed as it used the curtainclose / curtainopen code already in the main code.