updating script for copying & pasting