Moving xsel to last method, since xsel doesn't seem to work on Raspberry Pi (my test Linux environment)