setting up mandril