added sync parameter to allow for syncing platform with remote copy