some variables outsourced to cfg.sh