Deleteing bin directory and merging in code