exchanged python function for system paste command