add configuration file support for xas.pl