rewrote button registering
new script for new test