Small refactoring in load profile. Corrected bug that was considering millisecons as seconds