added charts to dinamic model and fixed the script for load sample data