update script for Test space preparation