Added missing APIs copying to script