Add working version of the script.