Adding scripts to the brick sprite