non mi è tutto chiaro, forse è meglio che posti tutto lo scipt.