Changed script to use all CPU's