add line
add scripts for button click