reverted to flask as LKD and BK did not like SPA style