fix settings var expanding issue and auto accept apt installs