Fixed a bug in parameter setting and added a loader for javaagent