Added new -javaagent option resourcescript - fixes BYTEMAN-245