Uploaded script for buttons