Fixed initialization script