library changes to work with Dash