buildscr on every frame