Run custom function as netlify