add deploy functionality