Simplified Makescripts. Added creating linkage map.