take deploy destination as a parameter