utils for deployment