add frame script
fix issue on variable name confusion