integrate deploy functionality.