fix bug with cache not being cleared for event save
fix ssh command in deployment script