Added configuration functions and vars