changing file to run on multiple cores