Rebuilding models script initial version (not ready yet)