single script for sync and deploy