fixed script errors and added daemon script for copy.com