Auto-fill script for forms