Updated license to include 2014.
Added something to check if the flag has already been added under the video. Removed some unused logging.