model for script usage with pdist created