Modified rsync command between local, staging, and beta to preserve directory and file permissions.