added magic to configs.sh