Script flagging is working. Code to remove flagged script still needs to be implemented.