implementing rebuild ability
Merge pull request #42 from mrkrstphr/rebuild

implementing rebuild ability