updated git scripts to properly use filter-branch