added and initialized emperor script