changed license to BSD for new versions