change variable names, fix typos, add AUTHOR variable