Making vars.sh optional and added minimal logging