Refactored the code accessing seqscape