remove some debug stuff
add repo and library defaults
fix typo thanks @ZephireNZ