added deployment stuff

We don't want to loop here, to always have one instance running.