Add intelligent paste

Version 2.4, added intelligent paste feature