added bash command to ensure sync gets executed