Fixed path assignment and added timing function to startup