Modified code to no longer require prettytime jar