updated script to not use a hardcoded path for the xflux binary