Variables $mod replaced with $addon, modification and package

Signed-off-by: enyst <engel.nyst@gmail.com>