library load and redirect addition