delete bin and .settings directories