Fix concatenation of sequence when calling getFasta sequentially.

When getFasta was called multiple times on a sequence it would concatenate the sequence instead of removing the previous sequence.

Added a check to import functions, if sequences is already defined.  It will now delete and reset the sequence to initial state