Fix AF script on other shells
Fixed creating invoice, possibility to add env vars to paths