I add extra code to allow that the user to decide if the script overwrite the statusline.