first ver of loader. copy and modify the lib dir.