fixes #3, making clean configurable