Flask scripts for Freepto web page