moved to inline script on apipe-ci