pita script fix