script for reflection