Added python scripts, fixed API endpoint