automatic load script for DDD