prova a dare un'occhiata a questo link, non ho letto attentamente, ma potrebbe fare al caso tuo