Removed the stand-alone PGUP function and put the command under the M_Board function that runs everything. I commented out the messageboxes that were appearing at the IF/ELSE statement. Basically, I created 4 or 5 functions that run the entire program when called.