Better match WebMaka's version of the script.