Fixed load pattern logic
moved function getUptime to JvmUtil