updated button component script