prepared script with performance test