Aziz script almost working, TODO : database storage