Added dependencies, and fixed some of the variables

Signed-off-by: license2e <ilya@shindyapin.com>