we need to return after looping though the function calls or else we will call configure twice (this
didn't happen before since we used another variable)