Run custom function as netlify
Run custom function on the frontend