removing bin and adding libraries