Adding button stuff for alan to copy