added some configurability for deployment