Added deployment function