Create pin_generator.php