Updated clipboard helper