add test type for main and change script to Scripts
update prepare and all script