public scripts for gpor api