Adding to functions to global view
Added a sequence replacement function and removed code from slection
Merged selections