[IMP] website: refact. python for website publish button