PHP CLI script for simple migration site uses ModX Revolution to new hosting