Adding server deploy logic