Assigned master function to main button
Assigned master function to main button