fixed initialization script