Many bug fixes and new scripts for genome manipulations