basic script for multithreading hrms