Modified script slightly
added paste utility