Code cleanup. Added exlude option to rsync.