rename output file to plc_api.php