flexible deploy