modified create volume script